package DengLu;

import java.util.Scanner;

public class loginText {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入用户名");
        String name = scanner.next();
        System.out.println("输入密码");
        String password = scanner.next();
        login ures = new login();
        boolean res = ures.erc(name,password);
        if (res){
            System.out.println("输入正确，正在登录"+name);
        }else {
            System.out.println("用户名或密码错误");

        }

    }
}
